package com.itmk.web.sys_class.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author java实战基地
 * @since 2023-10-08
 */
@Getter
@Setter
@TableName("sys_class")
public class SysClass implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 班级id
     */
      @TableId(value = "class_id", type = IdType.AUTO)
    private Integer classId;

    /**
     * 专业id
     */
    private Integer majorId;

    /**
     * 班级名称
     */
    private String className;
     /**
     * 年级
     */
    private String years;

    //不属于班级表，需要排除
    @TableField(exist = false)
    private String majorName;

    /**
     * 班级编号
     */
    private String calssNum;

    /**
     * 序号
     */
    private Integer orderNum;


}
